Set-up of media stream transmission and server and client for media stream transmission

ABSTRACT

A network client device is disclosed having a media streamer for processing a media stream received at a first port of a client device. Further included is a setup controller configured to transmit a set-up request message and a discovery message without waiting for acknowledgement of reception of the set-up request message before transmission of the discovery message, from a second port and the first port respectively, to predetermined ports of a server device.

CROSS-REFERENCES TO RELATED APPLICATIONS

This application is a continuation of U.S. patent application Ser. No. 14/042,862, filed Oct. 1, 2013, now U.S. Pat. No. 9,571,548, which is a division of U.S. patent application Ser. No. 12/876,270, filed Sep. 7, 2010, now U.S. Pat. No. 8,578,033, which claims priority under 35 U.S.C. § 119 to European Patent Application No. 09169658.3, filed Sep. 7, 2009, the contents of which are incorporated by reference herein.

FIELD OF THE INVENTION

The invention relates to a method of transmitting a stream of data through a communication network and to devices for use in such a network.

BACKGROUND OF THE INVENTION

Media streaming from a server to client involves transmission of a stream of messages, preceded by a set-up phase, in which the client sends a commands to start the stream and the client and server set up parameters that are needed for the transmission. To the user, the set-up phase appears as a slow response that delays the start of service. This is especially so when roundtrip transmission via a wireless network are needed. Therefore it is desirable to reduce the duration of the set-up phase as much as possible.

According to the IETF RTSP protocol described in RFC 2326bis, the set-up phase involves one or more “set-up” commands transmitted via the network from a client device to a server device, with a reply from the server device to the client device, followed by a play command from the client device. In addition a “describe” command may be needed, to obtain further parameters.

To speed up the set-up phase, pipelining of the commands may be used. This involves transmitting commands before replies to the preceding commands have been received, but this is not possible when a command depends on information from a reply to a preceding command.

Further delay can occur when the client device is “visible” on the network only via a firewall or a network address translator (NAT). In this case the client device cannot specify its own address, or even which of its ports data must be addressed from the stream output port(s) of the server device. To solve this problem the client devices sends discovery messages to the stream output ports of the server device through the firewall or network address translator. This enables the server device to recover the necessary address from the source address of these discovery messages, including an identification of the port if necessary. The need for an additional discovery message increases the set-up delay. The increased delay can be significant because the address discovery introduces a dependency between commands that limits the possibility of pipelining. Moreover, plurality of discovery messages may be needed in the case of lost traffic.

SUMMARY OF THE INVENTION

Among others, it is an object to reduce the delay involved with the set-up of a media stream.

A network client device is provided that transmits a set-up request message and a discovery message. The discovery message is transmitted from a port of the client device to which the media stream must be sent. The discovery message serves to probe the identity of the port that may be assigned by a firewall or network address translator between the client device and a server device.

The discovery message is transmitted without waiting for acknowledgement of reception of the set-up request message. The discovery message is linked to the set-up request message by including matching client device selected identifiers in their payload fields. The set-up request message and the discovery message are sent to predetermined ports of the server device. Because the client device transmits the discovery message and the set-up request messages to different ports, without waiting for acknowledgement of reception of the set-up request message, the discovery message may arrive before the set-up request message.

The server device receives the discovery message and stores information recording that the discovery message has been received. In an embodiment, the entire message may be recorded, but it suffices to record information regarding the message. Thus, in another embodiment the fact that the message has been received, an identifier from the payload of the message and an source address and port of the message are recorded. The server device compares the identifiers of received set up request messages and the discovery messages according to the information with which reception was recorded, at least for discovery messages that are received before the set-up request messages with which their identifiers are compared. The server device selects transport parameters for transmission of the media stream responsive to detection that the first and second identifier have matching values, the selected transport parameters being based on data from said set-up request message and a port identification from a source field of the discovery message.

In an embodiment the server device comprises a controller and a media streamer. The controller intercepts set-up request message for the media streamer, only to pass these set-up request messages once they have been paired to discovery messages on the basis of the identifiers.

In an embodiment the client device transmits a plurality of set-up requests and a play command, the set-up requests defining transport parameters for a video sub-stream, an audio sub-stream etc. and the play command triggering the joint start of play of these sub-streams. In this embodiment discovery messages for the different sub-streams are sent to different predetermined ports of the server device. The server device receives the plurality of set-up request messages and determines from the set-up messages at which of a number of predetermined ports it should look for corresponding discovery messages. If the set-up request message is a request message for audio or video, the server device may look at predetermined ports for audio or video respectively, for example. When discovery messages from these ports with matching identifiers have been found, using recorded information about reception of the discovery messages at least when the discovery messages have been received before the set-up request messages, transport parameters are selected. Start of play is delayed until after pairs of matching set-up requests and discovery messages have been detected for each of the received set-up messages for the media stream. When a play command is used, a response to this command may be delayed until pairs have been detected for all set-up messages for the media stream that have been received before the play command for that media stream.

BRIEF DESCRIPTION OF THE DRAWINGS

These and other objects and advantageous aspects will become apparent from a description of exemplary embodiments, using the following figures.

FIG. 1 shows a communication system

FIG. 2 shows a flow chart of operation of a server device

FIG. 3 shows a flow chart of operation of a client device

FIG. 4, 4 a illustrate message traffic between client and server device

FIG. 5 shows an embodiment of a server device.

DETAILED DESCRIPTION OF THE EMBODIMENTS

FIG. 1 shows a communication system, comprising a client device 10, a server device 12, an intermediate device 14 and first and second networks 16, 18 coupling client device 10 to intermediate device 14 and intermediate device 14 to server device 12 respectively.

In operation, server device 12 is used to transmit a series of messages containing data form a media stream to one or more ports of client device, after a set-up phase wherein the media stream and transport parameters for transmitting the stream are selected. In the set-up phase client device 10 transmits one or more set-up request messages for a specific streaming session as well as one or more discovery messages associated with these set-up request messages to predetermined ports of server device 12. The one or more discovery messages are sent from one or more ports of client device 10 to indicate that these ports must be used to address the messages in the media stream. Before starting play, server device 12 waits until it has received discovery messages for all media types for which the stream is set-up.

Client device 10 and server device 12 each comprise a plurality of communication layers. By way of example, three communication layers are illustrated in client device 10, although it should be understood that more layers may be present or that the illustrated layers themselves may be composed of sub-layers. Each layer may be implemented using a programmable computer, programmed with a computer program to make the programmable computer perform the functions of the layer. Alternatively, dedicated circuits may be used to implement part or all of the functions of the layers. The illustrated layers include an application layer 100 with a setup controller 100 a and a media streamer 100 b, an intermediate layer 102 and an interface layer 104 configured to transmit and receive packets via first network 16. Server device 12 may have similar layers.

The packets comprise a destination field with a network address and port identification and a payload field. Setup controller 100 a is configured to set up stream transmission and streamer 100 b is configured to process a received stream, for example to control display of video images base on a stream of video data. Setup controller 100 a is configured to indicate port identifications to intermediate layer 102 that are associated with streamer 100 b. Other port identifications may be associated with other components 100 c,d in application layer 100.

Intermediate layer 102 is configured to form packets with port identifications selected by setup controller 100 a and data from set-up controller 100 a in the payload field and to supply these packets to interface layer 104 for transmission. Intermediate layer 102 is configured to receive packets from interface layer 104 and to supply extracted payload data from those packets that have port identifications associated with setup controller 100 a or streamer 100 b to setup controller 100 a and streamer 100 b respectively.

FIGS. 2 and 3 show flow charts of operation of server device 12 and client device 10 respectively. FIG. 4, 4 a illustrate message traffic between client device 10 and server device 12. FIG. 5 shows an embodiment of server device 12. In FIG. 4 client device 10 and server device 12 are symbolized by a first and second vertical line 40, 42 and intermediate device 14 is symbolized by a third vertical line 41. Messages are symbolized by arrows. The messages include a setup request message 43 a,b, a discovery message 44 a,b and a play message 45 a,b from client device 10 to server device 12, as well as a series of stream messages 48 a,b and a set-up response message 46 a,b and a play response message 47 a,b from server device 12 to client device 10 in response to setup request message 43 a,b and play message 45 a,b. A plurality of setup request messages, discovery messages and corresponding set-up responses may be send, which is indicated by dashed arrows. The payload data field of a set-up message may comprise a string of character codes, such as

  SETUP rtsp://server.com/media.3gp/ trackID=3 RTSP/1.0 Cseq: 3 Session 968367008 Transport:rtp/avp;unicast;client_port= <a>;server_port=<b>;

In this example, the character codes for SETUP identify the message as a set-up request message, the string “rtsp . . . ” identifies the required stream content, the strings “RTSP/1.0” Cseq: 3 and “Transport . . . ” define further transport parameters such as the requested protocol, port numbers (with values denoted by <a> and <b>) etc. Furthermore the string “Session: . . . ” in the set-up request message defines an identifier value. It should be noted that this set-up request from client device 10 includes a server port number and a session identifier, parameters that are normally selected by server device 12. The payload data of the discovery message 44 a,b that corresponds to the set-up request message 43 a,b contain the same session identifier.

The payload data field of set-up response may take comprise a string of character codes such as

  RTSP/1.0 200 OK Cseq: 3 Session 968367008 Transport:rtp/avp;client_port=<a>; server_port=<b>;ssrc=2A3F93ED

In this example, the set-up response confirms acceptance of a number of parameters from the set-up request, including the session identifier and supplies further parameters. Although a single set-up and set-up response message are shown by way of example, it should be appreciated that a plurality of such set-up and set-up response messages for different types of stream may be used, for example to set-up video and audio streams for a session.

Intermediate device 14 may be a conventional interface between networks, which receives the transmitted messages 43 a, 44 a, 45 a from client device 10 and responses 46 b, 47 b from server device 12 via first and second networks 16, 18 respectively and forwards translated versions 43 b, 44 b, 45 b, 46 a, 47 a of these messages to the server device 12 and the client device via second and first networks 18, 16 respectively. When intermediate device 14 is a network address translator or firewall, it may translate addresses in source and destination fields of the messages 43 a, 44 a, 45 a, 46 b, 47 b, including port identifications in those fields.

Intermediate device 14 may maintain one or more stored address translation tables, representing for example a pairing relation between source addresses for use in messages to second network 18 and addresses of devices coupled to first network 16 (only client device 10 is shown, but more devices may be present). Alternatively, or in addition, the address translation tables may represent a pairing relation between ports of intermediate device 14 for use in messages over second network 18 and ports and/or addresses of devices coupled to first network 16. Intermediate device 14 may use the one or more tables to select source addresses for outgoing messages on second network 18 based on the source address of the message on first network 18 and/or output ports for transmitting the outgoing messages. In the opposite direction intermediate device 14 may use the one or more tables to select addresses of destination devices (e.g. client device 10) on first network 16 for forwarding messages from second network 18 based on the destinations addresses and/or ports with/at which the message are received from second network 18. As an additional protection measure, intermediate device 14 may be configured to pass messages from second network 18 only from addresses and/or ports at addresses to which messages have previously been sent via intermediate device 14.

Although an example is shown wherein the order of transmission of the messages corresponds to the order of reception, it should be appreciated that the order of transmission and reception may be mutually different. Operation of first and second networks 16, 18 and intermediate device 14 may have the effect that the order of transmission of the messages does not correspond to the order of reception. Thus, reception of a version 44 b of a discovery message 44 a may precede reception of a version 43 b of a set-up message, even though the discovery message 44 a was transmitted after the set-up message 43 a. This is illustrated in FIG. 4 a.

Set-up controller 100 a effectively defines a composite set-up request that comprises the set-up request message 43 a and the discovery message 44 a that are transmitted from and to different ports. Server device 12 uses the source port in the source field of the version 43 b of the discovery message that arrives at server device in combination with parameters from the received version 43 b of the set-up request message to set up a media stream.

Intermediate device 14, and/or networks 16,18 may have the effect that the temporal order of reception of messages differs from the temporal order of transmission. This is illustrated in FIG. 4a , wherein a set-up message 43 b is shown to arrive after a discovery message 44 b, although the set-up message was sent from the client before the discovery message.

FIG. 5 shows an embodiment of server device 12, comprising a media streamer 50, a media storage device 51, a controller 52, a controller memory 53, a command message handler 55, a plurality of discovery message handlers 57 a,b, a network interface 59. Controller 52 has interfaces to controller memory 53, command message handler 55 and discovery message handlers 57 a,b and an output coupled to media streamer 50. Command message handler 55 and discovery message handlers 57 a,b are associated with respective different port identifications of server device 12. Otherwise command message handler 55 and discovery message handlers 57 a,b may have the same structure, the labels “command” and “discovery” serving only to distinguish the handlers. At least command message handler 55 may be configured to restore the order of command messages addressed to its associated port of server device 12 and to queue the messages in a buffer. Media streamer 50, command message handler 55 and discovery message handler 57 a,b are coupled to network interface 59. The outputs of media streamer 50 are coupled to the same ports as discovery message handlers 57 a,b. Media streamer 50 is coupled to media storage device 51 and it has an input coupled to command message handler 55.

FIG. 2 shows a process of operation of server device 12 to establish streaming with a client device 10. It should be emphasized that server device 12 may be configured to set up streaming with any client device 10, or even with any number of client devices 10 in parallel, without knowing the identity of the client devices in advance. The steps involved with a single client device 10 will be emphasized, but it should be kept in mind that in parallel with this messages from other client devices 10 may arrive.

In a first step 21 controller 52 tests whether a discovery message handler 57 a,b has received a version of discovery message 44 b directed at the port with which discovery message handler 57 a,b is associated. If controller 52 detects such a message, controller 52 performs a second step 22, wherein it stores information recording the address and port identification from the source field of the received version discovery message 44 b, in combination with an identifier from a payload field of received version of the discovery message 44 b. From second step 22 or, if no discovery message has been received, from first step 21, the process proceeds to a third step 23.

In third step 23, controller 52 tests whether command message handler 55 has received a version of a set-up request message 43 b directed at the port with which command message handler 55 is associated or, in an embodiment, whether it has recorded such a set-up request message previously. The setup request from client device 10 specifies the transport mechanism to be used for the streamed media, including transport parameters that are acceptable to the client device 10. If a version of the set-up request message 43 b has been received, controller 52 executes a fourth step 24, wherein it tests whether it has recorded information that indicates earlier reception of a version of a discovery message 44 b, that has a recorded identifier from said discovery message that matches an identifier in the payload field of the set-up request message and a source address that matches the source address of the received version of the set-up request message 43 b for the media stream for which set-up is requested.

If information that meets these conditions is found in fourth step 24, controller 52 executes a fifth step 25, wherein controller 52 forwards the set-up request to media streamer 50. Moreover, controller 52 supplies a port identification based on the stored information about the discovery message 44 b to select a destination port for transmission of the stream to the port from which the discovery message was sent. Media streamer 50 selects the actual transport parameters to be used for streaming the media stream, using the supplied port identification. When the parameters and the identifier from the set-up request message are acceptable, media streamer 50 copies these parameters and uses the identifier as session identifier. Media streamer 50 records the selected session identifier and the transport parameters in association with the address of client device 10. Still in fifth step 25, media streamer 50 causes command message handler 55 to send a set-up response message 46 b back to client device 10, the response message comprising the selected transport parameters and the one or more session identifiers, in response to set-up request message 43 b.

If fourth step 24 shows that no discovery message was received, controller 52 proceeds back to first step 21, leaving the set-up request message in the message queue of command message handler 55 or after executing a sub-step (not shown) wherein it stores information to record the set-up request message. Optionally, the set-up response may be sent in this sub-step as well, instead of in fifth step 25. After fifth step 25 controller 52 proceeds to execute a sixth step 26.

First step 21 to fifth step 25 may be executed for different client devices 10 and for respective types of stream for the same client device 10, such as corresponding audio and video streams of an audiovisual content item, using set-up request messages and discovery messages for each media stream, for the ports to be used for the respective streams.

Set-up requests may be used that identify the type of stream to which they apply. Discovery messages for different types of stream may be distinguished according to the port of server device 12 at which they arrive, i.e. according to the message handler 57 a,b from which controller 62 obtains the discovery message. Set-up requests from different client devices 10 may be distinguished on the basis of the source addresses of the received messages.

Controller 52 may record information from the discovery message such as an identifier in association with the identifications of the type of stream, the source address and port of the messages. Controller 52 may execute fifth step 25 only for those types of stream for which both a set-up message and a discovery message with the same source address have been received.

Controller 52 may be configured to test for a source address whether fifth step 25 has been executed for all types of stream corresponding to the set-up request messages that have been received with that source address, before proceeding to sixth step 26 for the source address, repeating the process from first step 21 otherwise. In an embodiment the process from first step 21 is repeated concurrently with execution of sixth step 26 and the steps that follow it, to set up other streams for source addresses corresponding to other client devices 10 (i.e. the addresses used for the client devices 10 by intermediate device 14).

Summarizing, server device 12 “listens” for setup request messages at a command port and discovery messages at a number of predetermined ports that are to be used for respective parts (audio, video) of a media stream. Server device 12 stores information that records that setup request messages and/or discovery messages were received, at least when no stored record of a corresponding discovery message and/or setup request message can be found respectively. The recorded information indicates an identifier from the payload of the received setup request messages and/or discovery messages, the source address and, in the case of the discovery messages, the port number from the source address of the message. The port at which the discovery message was received is also indicated, for example by storing records for messages that were received at different ports in different tables, associated with the respective ports.

When server device 12 receives a setup request message or a discovery messages, it (that is, its controller) searches the stored information for a matching a discovery messages or setup request message respectively, i.e. a message with the same source address and the same identifier the setup request message requesting setup of a media type corresponding to the port at which the discovery message was received. Server device 12 responds to a subsequent play message only once matching pairs of a setup request message and a discovery message have been found for all stream parts, with source addresses corresponding to the source address of the play message. Then play of the parts is started from the predetermined ports at which the discovery messages were received addressed to the ports from the source field of these discovery messages. In an embodiment a plurality of different predefined ports of server device 12 may be provided for the same type of stream part (e.g. video). In this embodiment server device 12 searches discovery matches from each of these ports for a match with a setup request message for that type of stream part and selects the port of server device 12 on which the discovery message was received for returning the stream part of this type (e.g. video).

In sixth step 26, controller 52 tests whether command message handler 55 has received a version of a play message 45 b directed at the port with which command message handler 55 is associated, from the source address corresponding to a client device 10 for which pairs of set-up request and discovery messages have been found or, in an embodiment, whether such a play message has been recorded. If sixth step 26 shows that another set-up request message has been received instead of a play message, the process may return to third step 23.

The play message contains information telling server device 12 to start sending data from the stream or streams using the transport parameters selected in response to the setup request message or messages. If a version of the play message 45 b has been received, controller 52 forwards the play message to media streamer 50 in seventh step 27, and media streamer 50 executes an eighth step 28, causing command message handler 55 to send a response back to client device 10 to acknowledge the play command and controller 52. Subsequently media streamer 50 repeatedly executes a ninth step 29, wherein it sends successive media content messages 48 b containing the stream data from one or more ports on which server device 12 received the discovery messages 44 b, to the ports obtained from the discovery messages and the source address of the play message, the discovery messages and the set-up request messages. Optionally, the media content messages 48 may be sent form different ports of server device 12, when it is known that intermediate device 14 translates addresses properly, even if they are sent from the other ports. Optionally seventh step 27 may comprise an additional test to detect whether matching discovery messages 44 b have been found for each received set-up request message 43 b for the same session identifier as the play message 45 b, the process storing information for future use, indicating that the play message has been received, and returning to first step 21 otherwise.

Although FIG. 2 shows one example of the sequence of handling set-up request and discovery messages, it should be appreciated that different sequences may be used. Thus, testing of discovery messages may follow handling of set-up requests, or even after reception of the play message. However, the play message is effectuated only after corresponding discovery messages and set-up requests messages have been found. If a set-up request message specifies parameters that cannot be supported by server device 12, server device 12 may respond by returning a warning message (not shown) and client device 10 may be configured to respond to the warning message by retrying the set-up message with modified parameters.

In an embodiment controller 52 may keep the recorded information from discovery message 44 b, set-up request message 43 a and play message 45 a stored indefinitely as long as seventh step 27 is not reached. However, it is preferred to impose a time limit, for example by recording the information in association with time stamps and discarding or ignoring the recorded information in the process of FIG. 2 when the time stamp and a current clock time value indicate that the age of the information exceeds a threshold value.

FIG. 3 shows a flow-chart of operation of client device 10. In a first step 31, set-up controller 100 a causes intermediate layer 102 to send one or more set-up request messages 43 a for respective types of streams (e.g. audio and video), addressed to the port that is associated with command message handler 55 of server device 12. Set-up controller 100 a causes intermediate layer 102 to send one or more discovery messages 44 a addressed to the one or more ports of server device 12 that are associated with discovery message handlers 57 a,b for the respective types of stream. Optionally, set-up controller 100 a selects an identifier and includes this identifier in all set-up request and discovery messages 43 a, 44 a. Setup controller 100 a uses different ports of client device 10 for transmitting the set-up request message 43 a and the discovery message 44 a. The one of more discovery messages 44 a are transmitted from the ports that will be used to receive stream data for streamer 100 b.

In a second step 32 set-up controller 100 a causes intermediate layer 102 to send a play message 45 a addressed to the port that is associated with command message handler 55 of server device 12.

In a third step 33 set-up controller 100 a tests whether responses are received back to the one or more set-up request messages 43 a and play message 45 b. Third step 33 is repeated until responses have been received back. Optionally, the test for a response to the one or more set-up request messages 43 a is executed before second step 32, second step 32 being executed only once response to the one or more set-up request messages 43 a has been received back. If no response has been received back that confirms receipt of a discovery message 44 a set-up controller 100 a optionally executes a sub-step 33 a, wherein it repeats transmission of the discovery message 44 a. The one or more discovery messages 44 a may be transmitted in the form of UDP packets, that is, using a protocol that does not guarantee delivery of the packets.

Once third step 33 shows that the responses have been received set-up controller 100 a executes a fourth step 34, wherein it initializes streamer 100 b according to the selected transport parameters and one or more session identifiers from the responses. Subsequently streamer 100 b repeatedly executes a fifth step 35, receiving messages with stream data from the port or ports that was or were used to transmit one or more discovery messages 44 a and processing this stream data, for example by decoding image information from the stream data and using the decoded image information to control image display on an image display device (not shown).

In this way set-up controller 100 a effectively defines a composite set-up request that comprises the set-up request message 43 a and the discovery message 44 a that are transmitted from and to different ports. Server device 12 pairs a received version of the set-up request message 43 a with a discovery message 44 b and sets up media streams using information from the set-up request message 43 b and the port identification from the received version of the discovery message 44 b that has been paired with the set-up request message 43 b. Pairing ensures that a minimum of roundtrip messages is needed.

A predetermined port of server device may be used to address the discovery request messages 43 a. In an embodiment server device 12 may advertise this port number in response to query messages. As described, client device 10 may be configured to wait for reception of a set-up response 46 a before transmitting a play message 45 a. In this case server device 12 need look for play commands only after sending a set-up response 46 b. However, the process can be speeded up by transmitting the play message 45 a before reception of the set-up response 46 b, supplying information to tie the play message 45 a and the set-up response 46 b.

An embodiment has been described wherein client device 10 selects a session identifier and supplies this identifier in set-up request messages and discovery messages to server device 12, server device 12 using the session identifier to search for pairs of corresponding set-up request messages and discovery messages. This provides for a simple way of ensuring that matched pairs set-up request messages and discovery messages can be found. Alternatively, client device 10 may use identifiers specifically for the purpose of message matching. In this case server device 12 may select the session identifier and transmit information linking the session identifier to the identifier used by client device 10. In another embodiment the identifiers in set-up request messages and discovery messages may be omitted, server device 12 searching for matching pairs only on the basis of source addresses of the messages.

Other variations to the disclosed embodiments can be understood and effected by those skilled in the art in practicing the claimed invention, from a study of the drawings, the disclosure, and the appended claims. In the claims, the word “comprising” does not exclude other elements or steps, and the indefinite article “a” or “an” does not exclude a plurality. A single processor or other unit may fulfill the functions of several items recited in the claims. The mere fact that certain measures are recited in mutually different dependent claims does not indicate that a combination of these measured cannot be used to advantage. A computer program may be stored/distributed on a suitable medium, such as an optical storage medium or a solid-state medium supplied together with or as part of other hardware, but may also be distributed in other forms, such as via the Internet or other wired or wireless telecommunication systems. Any reference signs in the claims should not be construed as limiting the scope. 

The invention claimed is:
 1. A network client device comprising: a programmable processor; and a computer readable storage medium including program instructions that, in response to execution by the programmable processor, cause the network client device to, at least: create a set-up request message by including a first one of a matching pair of identifiers in a payload of the set-up request message; create a discovery message by including a second one of the matching pair of identifiers in a payload of the discovery message and by including a port identifier in a source field of the discovery message, wherein the matching pair of identifiers allows pipelining of the set-up request message and the discovery message without receiving acknowledgement of reception of the set-up request message; transmit the set-up request message to a first port of a server device; after transmitting the set-up request message to the first port of the server device but before receiving an acknowledgement of reception of the set-up request message from the server device, transmit the discovery message to a second port of the server device from a port of the network client device identified by the port identifier in the source field of the discovery message; and receive, at the port of the network client device identified by the port identifier in the source field of the discovery message, a media stream from the server device, wherein the media stream is transmitted using a transport parameter selected based on data from the set-up request message and the port identifier in the source field of the discovery message.
 2. The network client device of claim 1, wherein the set-up request message defines a transport parameter for a video sub-stream, and wherein the program instructions, in response to execution by the programmable processor, further cause the network client device to transmit a second set-up request message to the server device, wherein the second set-up request message defines a transport parameter for an audio sub-stream.
 3. The network client device of claim 2, wherein the discovery message is sent to a port of the server device that is predetermined for the video sub-stream, and wherein the program instructions, in response to execution by the programmable processor, further cause the network client device to send a second discovery message to a port of the server device that is predetermined for the audio sub-stream.
 4. The network client device of claim 1, wherein the program instructions, in response to execution by the programmable processor, further cause the network client device to associate the discovery message and the set-up request message to a single media stream request.
 5. The network client device of claim 1, wherein the program instructions, in response to execution by the programmable processor, further cause the network client device to transmit a play message to the server device to prompt the server device to transmit the media stream to the network client device.
 6. The network client device of claim 1, wherein the set-up request message further includes a session identifier to be used for the transmission of the media stream by the server device to the network client device.
 7. The network client device of claim 1, wherein the discovery message is transmitted in the form of User Datagram Protocol (UDP) packets.
 8. A non-transitory computer readable storage medium having stored thereon program instructions that, in response to execution by a programmable processor of a network client device, cause the network client device to, at least: create a set-up request message by including a first one of a matching pair of identifiers in a payload of the set-up request message; create a discovery message by including a second one of the matching pair of identifiers in a payload of the discovery message and by including a port identifier in a source field of the discovery message, wherein the matching pair of identifiers allows pipelining of the set-up request message and the discovery message without receiving acknowledgement of reception of the set-up request message; transmit the set-up request message to a first port of a server device; after transmitting the set-up request message to the first port of the server device but before receiving an acknowledgement of reception of the set-up request message from the server device, transmit the discovery message to a second port of the server device from a port of the network client device identified by the port identifier in the source field of the discovery message; and receive, at the port of the network client device identified by the port identifier in the source field of the discovery message, a media stream from the server device, wherein the media stream is transmitted using a transport parameter selected based on data from the set-up request message and the port identifier in the source field of the discovery message.
 9. The non-transitory computer readable storage medium of claim 8, wherein the set-up request message defines a transport parameter for a video sub-stream, and wherein the program instructions, in response to execution by the programmable processor, further cause the network client device to transmit a second set-up request message to the server device, wherein the second set-up request message defines a transport parameter for an audio sub-stream.
 10. The non-transitory computer readable storage medium of claim 9, wherein the discovery message is sent to a port of the server device that is predetermined for the video sub-stream, and wherein the program instructions, in response to execution by the programmable processor, further cause the network client device to send a second discovery message to a port of the server device that is predetermined for the audio sub-stream.
 11. The non-transitory computer readable storage medium of claim 8, wherein the program instructions, in response to execution by the programmable processor, cause the network client device to associate the discovery message and the set-up request message to a single media stream request.
 12. The non-transitory computer readable storage medium of claim 8, wherein the set-up request message further includes a session identifier to be used for the transmission of the media stream by the server device to the network client device.
 13. The non-transitory computer readable storage medium of claim 8, wherein the discovery message is transmitted in the form of User Datagram Protocol (UDP) packets.
 14. A method comprising, by a network client device: creating a set-up request message by including a first one of a matching pair of identifiers in a payload of the set-up request message; creating a discovery message by including a second one of the matching pair of identifiers in a payload of the discovery message and by including a port identifier in a source field of the discovery message, wherein the matching pair of identifiers allows pipelining of the set-up request message and the discovery message without receiving acknowledgement of reception of the set-up request message; transmitting the set-up request message to a first port of a server device; after transmitting the set-up request message to the first port of the server device but before receiving an acknowledgement of reception of the set-up request message from the server device, transmitting the discovery message to a second port of the server device from a port of the network client device identified by the port identifier in the source field of the discovery message; and receiving, at the port of the network client device identified by the port identifier in the source field of the discovery message, a media stream from the server device, wherein the media stream is transmitted using a transport para selected based on data from the set-up request message and the port identifier in the source field of the discovery message.
 15. The method of claim 14, wherein the set-up request message defines a transport parameter for video sub-stream, and wherein the program instructions, in response to execution by the programmable processor, further cause the network client device to transmit a second set-up request message to the server device, wherein the second set-up request message defines a transport parameter for an audio sub-stream.
 16. The method of claim 15, wherein the discovery message is sent to a port of the server device that is predetermined for the video sub-stream, and wherein the program instructions, in response to execution by the programmable processor, further cause the network client device to send a second discovery message to a port of the server device that is predetermined for the audio sub-stream.
 17. The method of claim 14, further comprising associating the discovery message and the set-up request message with a single media stream request.
 18. The method of claim 14, wherein the set-up request message further includes session identifier to be used for the transmission of the media stream by the server device to the network client device.
 19. The method of claim 14, wherein the discovery message is transmitted in the form of User Datagram Protocol (UDP) packets. 